package com.wave.system.domain.vo;

import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
import com.alibaba.excel.annotation.ExcelProperty;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * 报警记录视图对象 sys_alarm_record
 *
 * @author wave
 * @date 2024-10-12
 */
@Data
@ExcelIgnoreUnannotated
public class SysAlarmRecordVo implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
    @ExcelProperty(value = "主键")
    private Long id;

    /**
     * 报警时间
     */
    @ExcelProperty(value = "报警时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date alarmTime;

    /**
     * 报警类型
     */
    @ExcelProperty(value = "报警类型")
    private Integer alarmType;

    /**
     * 报警类型
     */
    @ExcelProperty(value = "报警类型")
    private String alarmContent;


}
